package com.peaker.advertisingpro.view

import android.app.Dialog
import android.content.Context
import android.os.Bundle
import android.view.View
import android.view.Window
import com.peaker.advertisingpro.R
import kotlinx.android.synthetic.main.activity_login.*

/**
 *  @ 作者 CODE_LYF
 *  @ 时间   2021/3/18.
 *  代码人生
 */
class LoginDialog(context: Context) : Dialog(context) {

    init {
        window?.requestFeature(Window.FEATURE_NO_TITLE)
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        window?.setBackgroundDrawableResource(R.color.transparent)
        setContentView(R.layout.layout_loding)
        setCanceledOnTouchOutside(false)



    }

}